package com.ctshk.rpc.system.req;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("创建外挂系统主数据req")
public class MainDataManualSystemCreateReq implements Serializable {
	private static final long serialVersionUID = 1L;

	@NotNull(message = "供应商ID不能为空")
	@ApiModelProperty(value = "供应商ID")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @NotBlank(message = "外挂系统名称不能为空")
    @ApiModelProperty(value = "外挂系统名称")
    private String systemName;

    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "类型")
    private Integer type;

    @NotNull(message = "业务类型不能为空")
    @ApiModelProperty(value = "业务类型id")
    private Integer businessTypeId;

    @ApiModelProperty(value = "业务类型名称")
    private String businessTypeName;
}
